package com.xiaoshuidi.cloud.module.member.controller.app.questionnaireinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Max;

@Tag(name = "租客APP - 用户问卷选项")
@Schema(description = "租客APP -  用户问卷选项 Request VO")
@Data
@ToString(callSuper = true)
public class UserAnswerVO {
    @Schema(description = "选项Id")
    private Long optionId;

    @Schema(description = "选项")
    private String name;

    @Schema(description = "选项内容")
    private String content;

    @Schema(description = "填空的内容")
    @Max(value = 500, message = "填空内容最多500字")
    private String fillBlank;

    @Schema(description = "上传的图片")
    private String image;
}
